﻿using System;
using System.Collections.Generic;
using System.Data;
using Runda.EShop.Common.Utility;
using Runda.EShop.Dal;
using Runda.EShop.Common.Entity;


namespace Runda.EShop.Bll
{
    /// <summary>
    /// BLL Layer For dbo.Sys_Notice.
    /// </summary>
    public partial class SysNoticeBll : BllBase
    {
        public List<SysNoticeEntity> GetNoticeListNonContent(List<SqlDbParameter> parms, string OrderBy, int PageSize, int PageIndex, out int RecordCount)
        {
            SysNoticeDal dal = new SysNoticeDal();
            DataTable dt= dal.GetNoticeListNonContent(parms, OrderBy, PageSize, PageIndex, out RecordCount);

            List<SysNoticeEntity> list = this.BuildEntityListFromDataTable<SysNoticeEntity>(dt);

            return list;
        }
    }
}

